import React, { Component } from 'react'
import '../assets/style/List_c.less';
import Img from '../components/Img_c';

export default class List extends Component {
    render() {
        return (
            <div className="list-div">
                <div className="content" onClick={this.props.onClick}>
                    <p>{this.props.children}</p>
                    <Img src="big.png"></Img>
                </div> 
            </div>
        )
    }
}